package com.ruoyi.tb.lmt.service;

import com.ruoyi.tb.lmt.domain.TbMutualInspectiondetail;
import com.ruoyi.tb.lmt.domain.vo.TbMutualInspectiondetailVo;
import com.ruoyi.tb.lmt.domain.bo.TbMutualInspectiondetailBo;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 互检详情Service接口
 *
 * @author ruoyi
 * @date 2024-01-04
 */
public interface ITbMutualInspectiondetailService {

    /**
     * 查询互检详情
     */
    TbMutualInspectiondetailVo queryById(Long ID);

    /**
     * 查询互检详情列表
     */
    TableDataInfo<TbMutualInspectiondetailVo> queryPageList(TbMutualInspectiondetailBo bo, PageQuery pageQuery);

    /**
     * 查询互检详情列表
     */
    List<TbMutualInspectiondetailVo> queryList(TbMutualInspectiondetailBo bo);

    /**
     * 新增互检详情
     */
    Boolean insertByBo(TbMutualInspectiondetailBo bo);

    /**
     * 修改互检详情
     */
    Boolean updateByBo(TbMutualInspectiondetailBo bo);

    /**
     * 校验并批量删除互检详情信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);

    TableDataInfo<TbMutualInspectiondetailVo> selectMutual(Long mutualId, String lmtType, String lmtNumber, String status, PageQuery pageQuery);
}
